/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jpa.session;

import java.util.List;
import javax.ejb.Remote;
import jpa.entities.UserGroup;

/**
 *
 * @author andreas
 */
@Remote
public interface UserGroupFacadeRemote {

    void create(UserGroup userGroup);

    void edit(UserGroup userGroup);

    void remove(UserGroup userGroup);

    UserGroup find(Object id);

    List<UserGroup> findAll();

    List<UserGroup> findRange(int[] range);

    int count();

}
